export default {
    namespaced: true,
    state: {
        bid: null,
        chaterList: [],
    },
    mutations: {
        setBid(state,i){
            state.bid = i;
        },
        setChaterList(state,obj){
            state.chaterList = obj.list;
        }
    },
    actions: {
        setBidAsync(content,obj){
            content.commit('setBid',obj);
        },
        setChaterListAsync(content,obj){
            content.commit('setChaterList',obj);
        }
    }
}